package org.tgcloud.group.web.controller.dto.order;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import io.swagger.models.auth.In;
import lombok.Data;
import org.tgcloud.group.entity.*;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

/**
 * @author: zhy
 * @create: 2023-08-16 11:39
 * @description:
 */
@Data
@ApiModel
public class ManagerOrderDTO extends AppOrderDTO {

    @ApiModelProperty("已推送消息的用户列表")
    private List<MjOrderSendMsg> sendMsgUserList;

    @ApiModelProperty("项目详情")
    private ProjectListDTO projectMsg;

    @ApiModelProperty("订单状态")
    private Integer orderStatus;

    @ApiModelProperty("是否转移")
    private Short orderIsNextPush;


    @ApiModelProperty("提交盲盒的人姓名")
    private String blindUsername;

    @ApiModelProperty("核价列表")
    private List<ChannelUserGoodListDTO> channelUserCheckListDTOS;

    @ApiModelProperty("第一次竞价列表")
    private List<ChannelUserGoodListDTO> channelUserFirstBiddingListDTOS;

    @ApiModelProperty("助理第一次竞价列表")
    private List<MjUserOrder> channelUserFirstBiddingListAssistant;

    @ApiModelProperty("第二次竞价列表")
    private List<ChannelUserGoodListDTO> channelUserSecondBiddingListDTOS;

    @ApiModelProperty("助理第二次竞价列表")
    private List<MjUserOrder> channelUserSecondBiddingListAssistant;

    @ApiModelProperty("挑战情况列表")
    private List<ChannelUserGoodListDTO> challengerListDTOS;

    @ApiModelProperty("品名")
    private String productName;

    @ApiModelProperty("区域")
    private String areaName;

    @ApiModelProperty("执行负责人")
    private String permissionUsername;

    @ApiModelProperty("商务")
    private String bussinessUsername;

    @ApiModelProperty("是否进行过调整")
    private Integer isAdjustOrder;

    @ApiModelProperty("是否已读，true为已读")
    private boolean isRead;

    @ApiModelProperty("各自开拓者的渠道")
    private Map channelUserIds;

    @ApiModelProperty("该项目下的其他订单列表")
    private List<OtherOrderListDTO> otherOrderList;

    @ApiModelProperty("转移给的开拓者列表")
    private List<String> nextPushUserNames;

    @ApiModelProperty("转移给的助理列表")
    private List<String> nextPushAssistantNames;

    @ApiModelProperty("转移前的开拓者渠道列表")
    private List<ChannelUserGoodListDTO> nextPushBeforeChannelUserList;

    @ApiModelProperty("项目名称")
    private String name;

    @ApiModelProperty("推送的开拓者名称")
    private String pushUserName;

    @ApiModelProperty("推送的助理名称")
    private String pushAssistantName;

    @ApiModelProperty("中标的开拓者名称")
    private String winBiddingName;

    @ApiModelProperty("该渠道是否已放弃订单")
    private Short isAbandon;

    @ApiModelProperty("开拓者核价信息列表")
    private List<MjUserOrderCheck> checkMsgList;

    @ApiModelProperty("助理核价信息列表")
    private List<MjUserOrderCheck> assistantCheckList;


    @ApiModelProperty("最终渠道的名称")
    private String lastChannelName;

    @ApiModelProperty("最终开拓者名称")
    private String lastPioneerName;

    @ApiModelProperty("最终渠道的报价")
    private BigDecimal lastPrice;

    @ApiModelProperty("商务超时说明")
    private List<MjOrderTimeOutRemark> businessRemark;

    @ApiModelProperty("开拓者，助理超时反馈")
    private List<MjOrderTimeOutRemark> businessRemarkReply;

    @ApiModelProperty("该开拓者是否拿下订单：1，未拿下，2，拿下")
    private Integer isLastPioneer = 1;

    @ApiModelProperty("拒绝订单的渠道名称")
    private List<String> channelRefuserNames ;

    @ApiModelProperty("子表单列表")
    private List<ManagerOrderDTO> childOrderList ;

    @ApiModelProperty("父表单列表")
    private List<ParentOrderDTO> parentOrderList ;

    @ApiModelProperty("订单去向名称")
    private String orderGoName;

    @ApiModelProperty("项目类型，1、易货项目，2、其他项目")
    private Integer projectType = 1;

    @ApiModelProperty("倒计时")
    private Long pushSureCheckDate;

    @ApiModelProperty("评级等级id")
    private Integer rateId;

    @ApiModelProperty("评级等级")
    private String rate;

    @ApiModelProperty("评级内容")
    private String rateContent;

    @ApiModelProperty("订单实际总货值")
    private BigDecimal orderFinalTotalPrice;

    @ApiModelProperty("项目实际总货值")
    private BigDecimal projectFinalTotalPrice;
}
